package com.mes.cloud.dao;

import com.mes.cloud.dto.RoleDTO;
import com.mes.cloud.dto.RoleScopeDTO;
import com.mes.cloud.dto.extral.RoleUserRefExtralDTO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
* 角色
* @author wxm
* @Time 2019-4-10
*/
@Mapper
@Repository
public interface RoleDAO extends BaseDao<RoleDTO>{

    List<RoleScopeDTO> findRoleScope(Map<Object,Object> map);

    List<RoleUserRefExtralDTO> findPageRoleUser(Map<Object,Object> map);
}
